package com.mycompany.server;

import java.io.IOException;
import java.net.Socket;

/**
 *
 * @author Admin
 */
public class SessionFactory {


    public Session getConfiguredSession(Socket socket) throws IOException, ClassNotFoundException {
        Session session = new Session(socket);
        session.acceptName();
        return session;
    }
}
